<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>系统维护中 - 服务暂时不可用</title>
    <style>
        :root { --primary: #3498db; --secondary: #f1c40f; --dark: #2c3e50; --light: #ecf0f1; }
        body { font-family: 'Segoe UI', Arial, sans-serif; background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); margin: 0; padding: 0; height: 100vh; display: flex; justify-content: center; align-items: center; color: var(--dark); }
        .container { background: white; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 40px; max-width: 600px; text-align: center; animation: fadeIn 0.5s ease-out; }
        h1 { color: var(--primary); margin-bottom: 20px; }
        .icon { font-size: 80px; color: var(--secondary); margin-bottom: 20px; }
        p { line-height: 2; margin-bottom: 25px; padding: 0 100px; }
        .progress { height: 8px; background: #eee; border-radius: 4px; margin: 30px 0; overflow: hidden; }
        .progress-bar { height: 100%; width: 75%; background: linear-gradient(90deg, var(--primary), var(--secondary)); animation: progress 2s ease-in-out infinite; }
        .contact { margin-top: -15px; font-size: 14px; color: #7f8c8d; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes progress {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="icon">🚧</div>
        <h1>系统维护升级中</h1>
        <p>我们正在对系统进行升级维护，以提供更好的服务体验<br />预计完成时间：<strong id="finish-time"></strong></p>
        <div class="progress">
            <div class="progress-bar"></div>
        </div>
        <p>维护期间您将无法访问网站功能</p>
        <div class="contact">技术支持邮箱：zhcnlei@live.com</div>
    </div>
    <script>
        function formatDateZH(date) {
            const y = date.getFullYear();
            const m = (date.getMonth() + 1).toString().padStart(2, '0');
            const d = date.getDate().toString().padStart(2, '0');
            const h = date.getHours().toString().padStart(2, '0');
            const min = date.getMinutes().toString().padStart(2, '0');
            return `${y}年${m}月${d}日 ${h}:${min}`;
        }
        const now = new Date();
        const finishTime = new Date(now.getTime() + 5 * 60 * 1000); // 5分钟后
        document.getElementById('finish-time').innerText = formatDateZH(finishTime);
    </script>
</body>
</html>